package com.domain;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.redis.core.index.Indexed;
@Getter
@Setter
@ToString
public class Family {
    @Indexed
    private String type;
    @Indexed
    private String username;
    public Family(){}
    public Family(String type,String username){
        this.type=type;
        this.username=username;
    }
}
